// Copyright  Author(https://github.com/LiuShuKu). All Rights Reserved.

// Copyright (c)  2024 LiuShuKu
// Project Name :   balance
// Author       :   liushuku@yeah.net

// Package boot .
package boot

import (
	"github.com/gogf/gf/v2/os/gctx"
	"github.com/gogf/gf/v2/os/glog"
	"github.com/gogf/gf/v2/os/gtime"
)

func init() {
	err := gtime.SetTimeZone("Asia/Shanghai")
	if err != nil {
		panic("无法正确设置全局时区 ->" + err.Error())
	}
	glog.Info(gctx.GetInitCtx(), "全局时区设置为 -> Asia/Shanghai")
}
